//
//  DetilViewController.m
//  UI_10_TableView
//
//  Created by dllo on 16/3/22.
//  Copyright © 2016年 XWH. All rights reserved.
//

#import "DetilViewController.h"

@interface DetilViewController ()

@property (nonatomic, retain) UILabel *nameLabel;

@property (nonatomic, retain) UILabel *phoneNumberLabel;



@end

@implementation DetilViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    
    
    self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(100, 100, 200, 60)];
    self.nameLabel.text = [self.dic valueForKey:@"name"];
    self.nameLabel.backgroundColor = [UIColor orangeColor];
    
    
    self.phoneNumberLabel = [[UILabel alloc] initWithFrame:CGRectMake(100, 200, 200, 60)];
    self.phoneNumberLabel.text = [self.dic valueForKey:@"phoneNumber"];
    self.phoneNumberLabel.backgroundColor = [UIColor greenColor];
    
    [self.view addSubview:self.nameLabel];
    [self.view addSubview:self.phoneNumberLabel];
    
    
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
